<?php

$config = include __DIR__ . '/config/config.php';

$dsn = "{$config['db_type']}:host={$config['db_host']};dbname={$config['db_name']};charset={$config['charset']}";

$pdo = new PDO($dsn, $config['username'], $config['password']);

